package com.google.code.cakedroid.base;

import android.content.Context;
import android.content.res.Resources;

/**
 *ContextResources Class.
 *If you want to deal with Context object and Resources objects ,make your class extend this class 
 *@author androidyue
 *Last Modified:2011-12-15
 */
public class ContextResources extends BaseContext {
	//only be access to Inherited classes
	protected Resources res;
	
	/**
	 * constructor with one parameter
	 * @param context   Context object
	 */
	public ContextResources(Context context){
		super(context);
		this.initResources();
	}
	
	/*
	 * init Resources object
	 */
	private   void initResources() {
		this.res=this.context.getResources();
	}

}
